import request from 'src/components/utils/request'

export  function fetchDistrictRatio(query) {
    return request({
        url: 'http://localhost:8081/position/district',
        method: 'get',
        params: query
    })
}

export  function fetchWorkYearRation(query) {
    return request({
        url: 'http://localhost:8081/position/workYear',
        method: 'get',
        params: query
    })
}

export  function fetchFinanceStage(query) {
    return request({
        url: 'http://localhost:8081/position/financeStage',
        method: 'get',
        params: query
    })
}

export  function fetchSalaryRatio(query) {
    return request({
        url: 'http://localhost:8081/position/salary',
        method: 'get',
        params: query
    })
}